package com.xd.center.api.bean;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

@ApiModel(value = "小区评分")
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@EqualsAndHashCode(callSuper=false)
public class CommunityScore implements Serializable {

  @ApiModelProperty(value = "评分类型")
  @JSONField(name = "indicatorsType")
  private String type;

  @ApiModelProperty(value = "评分")
  private Double score;

  @ApiModelProperty(value = "小区评级")
  private String grade;

  @ApiModelProperty(value = "小区评价")
  private String appraise;

  @ApiModelProperty(value = "是基础评分")
  private boolean parent = Boolean.FALSE;

  @ApiModelProperty(value = "小区综合评分")
  private Double compositeScore;
  @ApiModelProperty(value = "小区流动性评分")
  private Double liquidityScore;
  @ApiModelProperty(value = "小区配套评分")
  private Double communitySurroundingScore;
  @ApiModelProperty(value = "有利与不利因素, 0=无市场风险, 负数=有市场风险")
  private Double factorScore;
  @ApiModelProperty(value = "质量等级评分")
  private Double qualityGradeScore;

}
